﻿using System;
using Business;

namespace TimeWork.webmaster
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["mail"] == null)
            {
                Response.Redirect("http://" + Request.Url.Authority + "/webmaster/SignIn.aspx");
            }
            if (!IsPostBack)
            {
                string[] temp = BuMaster.selCompanyRegister();
                lblDetail.Text = temp[0];
                lblTime.Text = temp[1];
                lblNumOfCompany.Text = temp[2];
            }
        }
    }
}